function ex_LionMan
man_pos=rand(1,2)*5;
lion_pos=man_pos+5*rand(1,2);
game_area=[0,10,0,10];

Man=newplayer(...
'image','images/man.jpg',...
'pos',man_pos,...
'ang',0,...
'speed',1,...
'legend','b',...
'step_func','LM_man_step'...
)

Lion=newplayer(...
'image','images/lion.jpg',...
'pos',lion_pos,...
'ang',0,...
'speed',1,...
'legend','r',...
'step_func','LM_lion_step'...
)


bnd=newboundary(p_rect(game_area(1:2),game_area(3:4)))


G=newgame({Man,Lion},...
'axis',game_area,...
'h',0.1,...
'min_r',0.05,...
'pause','pause(G.h)',...
'boundary',bnd...
)

G=simgame(G)
